package com.yonyou.cyxdms.basedata.client.domains.vo;

import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 问题列表
 *
 * @author ysj
 * @since 2019/11/13
 */
public class QuestionVisitInfoVO {

    @ApiModelProperty(value = "答题ID", name = "answerQuestionnaireId")
    private Long answerQuestionnaireId;

    @ApiModelProperty(value = "问题ID", name = "questionId")
    private Long questionId;

    @ApiModelProperty(value = "答案组ID", name = "answerGroupId")
    private String answerGroupId;

    @ApiModelProperty(value = "客户填的答案", name = "value")
    private String value;

    @ApiModelProperty(value = "问题名称", name = "questionName")
    private String questionName;

    @ApiModelProperty(value = "问题内容", name = "questionContent")
    private String questionContent;

    @ApiModelProperty(value = "是否必填", name = "isMustFilled")
    private Integer isMustFilled;

    @ApiModelProperty(value = "问题类型(1571)", name = "questionType")
    private Integer questionType;

    @ApiModelProperty(value = "问卷ID", name = "questionnaireId")
    private Long questionnaireId;

    @ApiModelProperty(value = "问题列表", name = "answerList")
    private List<AnswerVisitUsedVO> answerList;

    public Long getAnswerQuestionnaireId() {
        return answerQuestionnaireId;
    }

    public void setAnswerQuestionnaireId(Long answerQuestionnaireId) {
        this.answerQuestionnaireId = answerQuestionnaireId;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getAnswerGroupId() {
        return answerGroupId;
    }

    public void setAnswerGroupId(String answerGroupId) {
        this.answerGroupId = answerGroupId;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public String getQuestionContent() {
        return questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }

    public Integer getIsMustFilled() {
        return isMustFilled;
    }

    public void setIsMustFilled(Integer isMustFilled) {
        this.isMustFilled = isMustFilled;
    }

    public Integer getQuestionType() {
        return questionType;
    }

    public void setQuestionType(Integer questionType) {
        this.questionType = questionType;
    }

    public Long getQuestionnaireId() {
        return questionnaireId;
    }

    public void setQuestionnaireId(Long questionnaireId) {
        this.questionnaireId = questionnaireId;
    }

    public List<AnswerVisitUsedVO> getAnswerList() {
        return answerList;
    }

    public void setAnswerList(List<AnswerVisitUsedVO> answerList) {
        this.answerList = answerList;
    }

    @Override
    public String toString() {
        return "QuestionVisitInfoVO{" +
                "answerQuestionnaireId=" + answerQuestionnaireId +
                ", questionId=" + questionId +
                ", answerGroupId='" + answerGroupId + '\'' +
                ", value='" + value + '\'' +
                ", questionName='" + questionName + '\'' +
                ", questionContent='" + questionContent + '\'' +
                ", isMustFilled=" + isMustFilled +
                ", questionType=" + questionType +
                ", questionnaireId=" + questionnaireId +
                ", answerList=" + answerList +
                '}';
    }
}
